package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 成长记录对象 grow
 * 
 * @author ruoyi
 * @date 2025-02-19
 */
public class Grow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long growId;

    /** 成长时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成长时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date growTime;

    /** 成长记录 */
    @Excel(name = "成长记录")
    private Long growNum;

    public void setGrowId(Long growId) 
    {
        this.growId = growId;
    }

    public Long getGrowId() 
    {
        return growId;
    }
    public void setGrowTime(Date growTime) 
    {
        this.growTime = growTime;
    }

    public Date getGrowTime() 
    {
        return growTime;
    }
    public void setGrowNum(Long growNum) 
    {
        this.growNum = growNum;
    }

    public Long getGrowNum() 
    {
        return growNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("growId", getGrowId())
            .append("growTime", getGrowTime())
            .append("growNum", getGrowNum())
            .toString();
    }
}
